<?php
##############################################################################################
#	Compress URL (http://code.google.com/p/compressurl)
#	Author : Abhishek Verma (vermaabhishekp@gmail.com)
#	
#	This file is part of Compress URL.
#	
#	Compress URL is free software: you can redistribute it and/or modify
#	it under the terms of the GNU General Public License as published by
#	the Free Software Foundation, either version 3 of the License, or
#	(at your option) any later version.
#	
#	Compress URL is distributed in the hope that it will be useful,
#	but WITHOUT ANY WARRANTY; without even the implied warranty of
#	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#	GNU General Public License for more details.
#	
#	You should have received a copy of the GNU General Public License
#	along with Compress URL.  If not, see <http://www.gnu.org/licenses/>.
#	
# config.inc.php:
#			Configuration variables
##############################################################################################

# Configuration Start

	#############	MYSQL	#############
		$MYSQL_HOST = "localhost";
		$MYSQL_USER = "";
		$MYSQL_PASSWORD = "";
		
		// The database where compress url will reside
		$MYSQL_DATABASE = ""; 

		// The table name
		$MYSQL_TABLE = "url_compress"; 
	#####################################

	########## AUTHENTICATION ###########
	
	// Uncomment one of the lines below to choose the authentication type 
	
	// Do not require user authentication
	#	$authmethod = "none";    
			
	// Use builtin session-based authentication (recommended, needs the PHP management feature activated)
		$authmethod = "session"; 
		
	// Use builtin cookie-based authentication (not recommended : very basic, very INSECURE)
		#$authmethod = "cookie";  
		
	// Use builtin browser's basic HTTP authentication (needs PHP to be running as a module)
		#$authmethod = "http";   
		
	// Change these
		$username = "admin"; 
		$password = "passwd";
	#####################################

	// Show debug information. For developers only.
	$DEBUG = false;
	
	// The url you want to reserve to add new urls. By default it is http://yourdomain.com/dir_installed/add
	$ADD_PATH = "add"; 
	
	// Try to use mod_rewrite module and make urls pretty
	$MOD_REWRITE = true; 

	// That wasnt so difficult, was it? 
	// Now go to http://yourdomain.com/dir_installed/compress_url_libs/install.php 

# End of configuration

?>